<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<html>
  <head>    
    <title>注册</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
 	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" type="text/css" href="./bootstrap/css/bootstrap.min.css">
  	</head>
  	<body>
    	<nav class="navbar navbar-default">
	 		<div class="container-fluid">
		  		<div class="navbar-header">
		   			<a class="navbar-brand" href="./" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" rel="external nofollow" >实验动物档案管理系统</a>
		  		</div>
 			</div>
		</nav>
		<div class="container">
 			<div class="row">
  				<div class="col-md-4"></div>
  				<div class="col-md-4">
		   			<form class="form-signin" action="reg-submit.jsp" method="post">
		    			<h2 class="form-signin-heading"><center>注册</center></h2>
		    			<br>
		    			<div id="info"></div>
		    				<label for="UserID">用户编号:</label>
		    				<input type="text" name="UserID" id="UserID" class="form-control" placeholder="请输入用户名" required autofocus><br>	    			
		    				<label for="position">职位:</label>
		    				<select class="form-control" name="position">
		    					<option value="实验人员">实验人员</option>
                				<option value="动物房管理员">动物房管理员</option>
		    				</select><br>
		    				<label for="password">密码:</label>
		    				<input type="password" name="password" id="password" class="form-control" placeholder="请输入密码" required><br>
		    				<label for="position">重复密码:</label>
		    				<input type="password" name="password2" id="password2" class="form-control" placeholder="请再次输入密码" required maxLength="16"><br>
		    			<center>
		    				<button type="submit" class="btn btn-primary" id="btn-reg" style="width:25%;">注册</button>
		    				<a href="login.jsp" class="btn btn-default" id="btn-reg" style="width:25%;">返回登录</a>
		    			</center>
		   			</form>
  				</div>
  				<div class="col-md-4"></div>
 			</div>
 		</div>
	</body>
</html>
